package com.cuckoo.mall.thus.webapp;

import android.os.Bundle;

import com.bgn.baseframe.view.webview.BaseWebViewActivity;

public class WebMainActivity extends BaseWebViewActivity {
    private final String mainUrl = "http://www.thusmall.com/";


    @Override
    protected void onCreate(Bundle savedInstanceState) {
        setIsLoadTitleBar(false);
        super.onCreate(savedInstanceState);

    }

    @Override
    protected void initData() {

        if (isNetworkerConnectHint()) {
           // showLoadingView();
            myWebview.loadUrl(mainUrl);
        } else {
            showDefaultView();
        }
    }

    @Override
    public void onBackPressed() {
        myWebview.goBack();
    }

    @Override
    public boolean isLoadNext(String url) {
        return true;
    }
}
